import sys
sys.path.append("/mnt/d/hinusDocs/gitee/mulang/build/pylib")
from hi_std import *
class Measurable:
    def area(self):
        pass


class Circle:
    def __init__(self, x, y, r):
        self.x = x
        self.y = y
        self.r = r

    def __unapply__(self):
        return (self.x, self.y, self.r, )

    def area(self):
        return ((3.14159) * (self.r)) * (self.r)



class Rectangle:
    def __init__(self, x, y, w, h):
        self.x = x
        self.y = y
        self.w = w
        self.h = h

    def __unapply__(self):
        return (self.x, self.y, self.w, self.h, )

    def area(self):
        return (self.w) * (self.h)





c = Circle(0, 0, 1)
d = Rectangle(0, 0, 3.3, 5.5)
print(c.area())
print(d.area())
